﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SHeliRotate : SFuncBase
{
    [Range(-90,90)]
    public float Angle;
    public override void LocalKeyDown()
    {
        base.LocalKeyDown();
        this.RotateAroundLocalPoint(Vector2.zero, Angle);
    }
    public override void LocalKeyUp()
    {
        base.LocalKeyUp();
        this.RotateAroundLocalPoint(Vector2.zero, -Angle);
    }
}